<template>
    <div>
        <el-button @click="open">测试</el-button>
    </div>
</template>

<script setup>
import { ref, h } from 'vue';
import { showDialog } from '@/utils/renderDialog';
import test from './test';
const open = () => {
    showDialog(
        test,
        { msg: '提示' },
        {
            title: '登录',
            // showClose:false
        }
    );
};
</script>

<style lang="scss" scoped></style>
